package com.im.event;

import org.jivesoftware.smack.packet.Message;

import com.core.sdk.core.BaseEvent;
import com.core.sdk.core.Location;

public class MessageSendEvent extends BaseEvent {

	private static final long serialVersionUID = 1L;

	private String userJID;
	private Message msg;
	private String text;
	public MessageSendEvent(Location to,String userJID,String text) {
		super(to);
		this.userJID = userJID;
		this.text = text;
	}
	public String getUserJID() {
		return userJID;
	}
	public void setUserJID(String userJID) {
		this.userJID = userJID;
	}
	public Message getMsg() {
		return msg;
	}
	public void setMsg(Message msg) {
		this.msg = msg;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	
}
